package com.cems.service;

import com.cems.pojo.*;

import java.util.HashMap;
import java.util.List;

/**
 * @InterfaceName AdminService
 * @Author 陈新予(blank)
 * @Date 2021/5/16
 * @Version 1.0
 */
public interface AdminService {

    List<SysAdmin> getAdmins();

    void addAdmin(HashMap<String, String> map, String num, String emil, String phone);

    List<SysAdminInfo> getAllAdminInfo();

    void updateAdminLevel(String id,String author);

    void updateAdminStatus(String id,String status);

    void addAdminUpgrade(HashMap<String, String> map);

    List<SysAdminUpgrade> getAdminUpgrade();

    SysAdminInfo getAdminInfo(Integer adminId);

    void changePassword(String newPwd,Integer adminId);

    void updateAdminInfo(SysAdminInfo admin);

    List<UserShensu> findShensuList();

    void jiefengUser(String phone);

    SysAdmin selOneSysAdmin(String adminNum);



    String findStatus(String adminNum);

    void adminShensu(String adminNum, String content);

    List<AdminShensu> findAdminShensuList();

    void jiefengAdmin(String adminNum);

    void zhaohuiAdmin(String adminNum, String newpwd);

    int zhaohuicheck(String adminNum, String email);
}
